package com.pair.micro.common.constant.params;

/**
 * 嘉悦云token常量
 *
 * @author menglt
 * @since 2020-07-20 09:29
 */
public class MicroTokenParams {

  /** 嘉悦云token过期时间30天 单位：秒 1天 = 86400秒 */
  public static final Integer JYCLOUD_TOKEN_EXPIRE_TIME = 2592000;

  /** 嘉悦云token加密字符串 */
  public static final String JYCLOUD_TOKEN_SECRET = "Jycloud@2019";

  /* 开放平台参数 */
  public static final String JYCLOUD_TOKEN_NAME = "jyToken";
  public static final String JYCLOUD_RESOURCEIDS = "skl-open-api";
  public static final String JYCLOUD_AUTHORIZEDGRANTTYPES = "client_credentials";
  public static final String JYCLOUD_SCOPE = "skl_open";
  public static final String JYCLOUD_AUTHORITIES = "OPEN_API";
  public static final int JYCLOUD_ACCESSTOKENVALIDITY = 7200;
  public static final int JYCLOUD_REFRESHTOKENVALIDITY = 259200;
  /* 开放平台参数 */
}
